Q3Quaternion_SetMatrix
You can use theQ3Quaternion_SetMatrix
function to configure a quaternion from a matrix.
TQ3Quaternion *Q3Quaternion_SetMatrix ( TQ3Quaternion *quaternion, const TQ3Matrix4x4 *matrix);
quaternion
- A quaternion.
matrix
- A 4-by-by matrix.
DESCRIPTION
TheQ3Quaternion_SetMatrix
function returns, as its function result and in thequaternion
parameter, a quaternion that has the same transformational properties as the matrix specified by thematrix
parameter.